rem
rem Copyright IBM Corp. and others 2001
rem
rem This program and the accompanying materials are made available under
rem the terms of the Eclipse Public License 2.0 which accompanies this
rem distribution and is available at https://www.eclipse.org/legal/epl-2.0/
rem or the Apache License, Version 2.0 which accompanies this distribution and
rem is available at https://www.apache.org/licenses/LICENSE-2.0.
rem
rem This Source Code may also be made available under the following
rem Secondary Licenses when the conditions for such availability set
rem forth in the Eclipse Public License, v. 2.0 are satisfied: GNU
rem General Public License, version 2 with the GNU Classpath
rem Exception [1] and GNU General Public License, version 2 with the
rem OpenJDK Assembly Exception [2].
rem
rem [1] https://www.gnu.org/software/classpath/license.html
rem [2] https://openjdk.org/legal/assembly-exception.html
rem
rem SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0 OR GPL-2.0-only WITH OpenJDK-assembly-exception-1.0
rem

# ensure the new jar files are not created in the same second as the originals,
# otherwise the shared cache will not be able to determine the jar files have
# been modified
sleep 2
%1\javac Sanity\VerifyClasses\jnurlcldr\shared\sanity\*.java
cd Sanity\VerifyClasses
mkdir ../ExtDir
%1\jar -cvf ..\A.jar jnurlcldr\shared\sanity\A_Data.class jnurlcldr\shared\sanity\A_Main.class
%1\jar -cvf ..\ExtDir\A_Ext.jar jnurlcldr\shared\sanity\A_ExtDummy.class jnurlcldr\shared\sanity\A_ExtData.class
cd ..\
dir *.jar
cd ..\
